<!--
/**
* Author: linchun
* Date: 2022-07-29 10:33
* Desc: ChoiceArea 选择城市 块
*/
-->
<template>
  <view @click="toChoiceArea">
    <text class="name"> {{ info.regionName }} </text>
    <image
      class="icon-pick"
      mode=""
      :src="'https://public-oss-file.zmaxfilm.com/applet/img/film-oxygen-uniapp/icon-arrow-down.png'"
    ></image>
  </view>
</template>

<script>
  export default {
    name: 'ChoiceArea',
    data() {
      return {}
    },
    props: {
      info: {
        type: Object,
        default: () => {
          return {}
        }
      }
    },
    created() {},
    methods: {
      // 初始化方法
      init() {},
      toChoiceArea() {
        //跳转选择城市页面
        this.$tools.navigateTo('/subPages/choiceAreaPage/index')
      }
    }
  }
</script>
<style lang="scss" scoped>
  .icon-pick {
    width: 18rpx;
    height: 15rpx;
    margin-left: 9rpx;
  }
</style>
